using System;

namespace SynoManager.DownloadStation
{
    [AttributeUsage(AttributeTargets.Class, Inherited = false, AllowMultiple = false)]
    public sealed class DownloadStationPluginAttribute : Attribute
    {
        private readonly string name;
        private readonly string description;
        private readonly string author;
        private readonly string version;

        public DownloadStationPluginAttribute(string name, string description, string author, string version)
        {
            this.name = name;
            this.description = description;
            this.author = author;
            this.version = version;
        }

        public string Name
        {
            get { return name; }
        }

        public string Description
        {
            get { return description; }
        }

        public string Author
        {
            get { return author; }
        }

        public string Version
        {
            get { return version; }
        }
    }
}